import config from "@/config";
import http from "@/utils/request";
export default {
	set: {
		url: `${config.API_URL}/ai/setting/set`,
		name: "设置",
		post: async function (data) {
			return await http.post(this.url, data);
		},
	},
	detail: {
		url: `${config.API_URL}/ai/setting/detail`,
		name: "获取配置详情",
		get: async function () {
			return await http.get(this.url);
		},
	},
};
